package core.modules.base.entity;

import core.util.BaseEntity;
import core.util.IPrincipal;

public class SysUser extends BaseEntity<SysUser> implements IPrincipal {

	private static final long serialVersionUID = 1L;
	private String username;
	private String password;
	private String nickname;
	private String avatar;

	public SysUser() {
	}

	public SysUser(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
}
